diff options
author | tron <tron> | 2001-07-08 21:40:48 +0000 |
---|---|---|
committer | tron <tron> | 2001-07-08 21:40:48 +0000 |
commit | 3ae4043942760b52606c5d8b82bfae0f9b76585b (patch) | |
tree | 505ebe3cd73d67a32bd4c80ab752fe83c53bd27c /graphics | |
parent | 54f55878d94e294a0426d56ef997305e1417c4c6 (diff) | |
download | pkgsrc-3ae4043942760b52606c5d8b82bfae0f9b76585b.tar.gz |
Force compilation with "gcc" under Solaris because the "libtiff" from the
package sources requires linking with "libgcc".
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xv/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index ebfcb15c8ca..2ee19e1796d 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2001/07/08 20:12:45 tron Exp $ +# $NetBSD: Makefile,v 1.38 2001/07/08 21:40:48 tron Exp $ DISTNAME= xv-3.10a PKGNAME= ${DISTNAME}nb1 @@ -34,8 +34,13 @@ post-patch: > ${WRKSRC}/config.h .if ${OPSYS} == "SunOS" -pre-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} xvinfo.o CC=cc +post-configure: + cd ${WRKSRC} && \ + ${MV} ${MAKEFILE} ${MAKEFILE}.old && \ + ${SED} -e 's# CC = .*# CC = ${CC}#' \ + -e 's# CCOPTIONS = .*# CCOPTIONS = ${CFLAGS}'# \ + -e 's# CDEBUGFLAGS = .*# CDEBUGFLAGS =#' \ + ${MAKEFILE}.old >${MAKEFILE} .endif post-install: @@ -43,9 +48,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv ${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv -.if ${OPSYS} == "SunOS" -MAKE_ENV+= CPPFLAGS= -LDFLAGS+= -Wl,-R${X11BASE}/lib -.endif - .include "../../mk/bsd.pkg.mk" |