summaryrefslogtreecommitdiffstats
path: root/misc/libmcal
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-10 09:08:28 +0000
committerkrion <krion@FreeBSD.org>2004-02-10 09:08:28 +0000
commite79c03e130f6c3cf6cd57f9cb5b66190a2c26b6e (patch)
treec907b20ec1ff01d707302e8c08b0a72ba24996ac /misc/libmcal
parent7d27c08ef511928db9311447469d1fa22cec7332 (diff)
downloadFreeBSD-ports-e79c03e130f6c3cf6cd57f9cb5b66190a2c26b6e.zip
FreeBSD-ports-e79c03e130f6c3cf6cd57f9cb5b66190a2c26b6e.tar.gz
- Fix build on AMD64
Approved by: maintainer informed
Diffstat (limited to 'misc/libmcal')
-rw-r--r--misc/libmcal/files/patch-aa2
-rw-r--r--misc/libmcal/files/patch-ab2
-rw-r--r--misc/libmcal/files/patch-ac2
3 files changed, 3 insertions, 3 deletions
diff --git a/misc/libmcal/files/patch-aa b/misc/libmcal/files/patch-aa
index 1f8c195..f38c89d 100644
--- a/misc/libmcal/files/patch-aa
+++ b/misc/libmcal/files/patch-aa
@@ -9,7 +9,7 @@
-CFLAGS=-O0 -Wall -g $(INCLUDE)
+FLEX=/usr/bin/flex
+INCLUDE=-I.. -I/usr/include/rpcsvc/
-+CFLAGS+=-Wall $(INCLUDE)
++CFLAGS+=-Wall $(INCLUDE) -fPIC
ALLOBJS=mstore.o
TARGET=mstore_driver.o
diff --git a/misc/libmcal/files/patch-ab b/misc/libmcal/files/patch-ab
index a8c0243..6ec8c58 100644
--- a/misc/libmcal/files/patch-ab
+++ b/misc/libmcal/files/patch-ab
@@ -9,7 +9,7 @@
INCLUDE=-I..
-CFLAGS=-O0 -Wall -g $(INCLUDE)
-ALLOBJS=icap.o icaproutines.o lex.ical_yy.o lex.icap_yy.o
-+CFLAGS+=-Wall $(INCLUDE)
++CFLAGS+=-Wall $(INCLUDE) -fPIC
+ALLOBJS=icap.o icaproutines.o lex.icap_yy.o
TARGET=icap_driver.o
diff --git a/misc/libmcal/files/patch-ac b/misc/libmcal/files/patch-ac
index b466d23..5cdb1eb 100644
--- a/misc/libmcal/files/patch-ac
+++ b/misc/libmcal/files/patch-ac
@@ -12,7 +12,7 @@
INCLUDE=@DRIVER_INCDIR@ ${OTHERINCDIR} -I.
-CFLAGS=-O0 -Wall -g ${INCLUDE} ${OTHER_CFLAGS}
-+CFLAGS+=-Wall ${INCLUDE} ${OTHER_CFLAGS} -D_REENTRANT
++CFLAGS+=-Wall ${INCLUDE} ${OTHER_CFLAGS} -D_REENTRANT -fPIC
LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS)
ALLOBJS=${LIBOBJS} tester.o
OpenPOWER on IntegriCloud