summaryrefslogtreecommitdiff
path: root/cad/gerbv
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/gerbv
parent* Update to 1.6.2. (diff)
Use USE_GETOPT_LONG.
PR: 51222 Submitted by: Ports Fury
Diffstat (limited to 'cad/gerbv')
-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>