mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Attempt to make it easier to use non-default compiler.
Submitted by: DROOPY (partially)
This commit is contained in:
parent
d30d06eb65
commit
930ee8b15e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270826
@ -27,6 +27,6 @@ post-install:
|
||||
.endif
|
||||
|
||||
post-build test:
|
||||
cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,7 +1,7 @@
|
||||
--- libjbig/Makefile.orig Fri Apr 10 20:33:27 1998
|
||||
--- libjbig/Makefile Fri Apr 10 20:33:27 1998
|
||||
+++ libjbig/Makefile Wed Sep 16 11:57:16 1998
|
||||
@@ -5,9 +5,12 @@
|
||||
CC = gcc
|
||||
@@ -5,9 +5,11 @@
|
||||
-CC = gcc
|
||||
|
||||
# Options for the compiler: A high optimization level is suggested
|
||||
-CFLAGS = -O -Wall -ansi -pedantic
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
+$(SOJBIGLIB): jbig.so jbig_tab.so
|
||||
+ rm -f ${.TARGET}
|
||||
+ $(CC) -o ${.TARGET} -shared -Wl,-soname,${.TARGET} ${.ALLSRC}
|
||||
+ $(CC) -o ${.TARGET} ${LDFLAGS} -shared -Wl,-soname,${.TARGET} ${.ALLSRC}
|
||||
+ ln -sf ${.TARGET} `echo ${.TARGET} | sed 's/\.so.*$$/.so/'`
|
||||
+
|
||||
jbig.o: jbig.c jbig.h
|
||||
|
@ -1,7 +1,7 @@
|
||||
--- pbmtools/Makefile.orig Thu Jun 25 13:30:38 1998
|
||||
+++ pbmtools/Makefile Thu Jun 25 13:31:00 1998
|
||||
@@ -5,11 +5,11 @@
|
||||
CC = gcc
|
||||
@@ -5,11 +5,10 @@
|
||||
-CC = gcc
|
||||
|
||||
# Options for the compiler
|
||||
-CFLAGS = -g -Wall -ansi -pedantic -I../libjbig
|
||||
|
Loading…
Reference in New Issue
Block a user