aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-04-27 18:06:41 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-04-27 18:06:41 +0000
commit74c3ce7dfb9fec15310123fd979a4582c591fd5c (patch)
treeff7ce9b1361eb34d5a50be002c47c72f9bb1638b /cad
parent2c8d69f66b05cbb4f2efd39db6c02aad8484f445 (diff)
downloadports-74c3ce7dfb9fec15310123fd979a4582c591fd5c.tar.gz
ports-74c3ce7dfb9fec15310123fd979a4582c591fd5c.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/gerbv/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile
index f79432c57ab2..6cace0cdd3a5 100644
--- a/cad/gerbv/Makefile
+++ b/cad/gerbv/Makefile
@@ -17,6 +17,7 @@ COMMENT= A Free Gerber Viewer
USE_GNOME= gdkpixbuf
USE_REINPLACE= yes
+USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-exportpng
@@ -26,13 +27,6 @@ MAN1= gerbv.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500041
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-LDFLAGS+= -lgnugetopt
-.endif
-
post-patch:
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/amacro.c
@@ -46,4 +40,4 @@ post-install:
cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>