aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-07 18:54:16 +0800
committermiwi <miwi@FreeBSD.org>2006-08-07 18:54:16 +0800
commit3a03625bd1b47edaf7eb19bc8b3585f673a5b8f1 (patch)
tree1323d6d8136fbfccf5e23094a687ef6874ae84b9
parent4f101734e9b886dadd772fdf9fad9c35ca955759 (diff)
downloadfreebsd-ports-gnome-3a03625bd1b47edaf7eb19bc8b3585f673a5b8f1.tar.gz
freebsd-ports-gnome-3a03625bd1b47edaf7eb19bc8b3585f673a5b8f1.tar.zst
freebsd-ports-gnome-3a03625bd1b47edaf7eb19bc8b3585f673a5b8f1.zip
- Fix build on 4.x
- Fix pkg-plist Submitted by: pointyhat via kris Approved by: krion (mentor)
-rw-r--r--security/nettle/Makefile2
-rw-r--r--security/nettle/pkg-plist1
-rw-r--r--security/nettle2/Makefile2
-rw-r--r--security/nettle2/pkg-plist1
4 files changed, 4 insertions, 2 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index e8f38acb19a2..92ddffef7bfc 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -25,6 +25,8 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
LDFLAGS+= -L${LOCALBASE}/lib
INSTALLS_SHLIB= yes
+USE_GETOPT_LONG= yes
+USE_GCC= 3.4+
DOCS= NEWS README TODO nettle.html
EXAMPLES= examples/*.c examples/*.h
diff --git a/security/nettle/pkg-plist b/security/nettle/pkg-plist
index c61be319b07b..af66fcaaa691 100644
--- a/security/nettle/pkg-plist
+++ b/security/nettle/pkg-plist
@@ -60,4 +60,3 @@ lib/libnettle.so.2
%%EXAMPLESDIR%%/rsa-sign.c
%%EXAMPLESDIR%%/rsa-verify.c
@dirrm %%EXAMPLESDIR%%
-
diff --git a/security/nettle2/Makefile b/security/nettle2/Makefile
index e8f38acb19a2..92ddffef7bfc 100644
--- a/security/nettle2/Makefile
+++ b/security/nettle2/Makefile
@@ -25,6 +25,8 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
LDFLAGS+= -L${LOCALBASE}/lib
INSTALLS_SHLIB= yes
+USE_GETOPT_LONG= yes
+USE_GCC= 3.4+
DOCS= NEWS README TODO nettle.html
EXAMPLES= examples/*.c examples/*.h
diff --git a/security/nettle2/pkg-plist b/security/nettle2/pkg-plist
index c61be319b07b..af66fcaaa691 100644
--- a/security/nettle2/pkg-plist
+++ b/security/nettle2/pkg-plist
@@ -60,4 +60,3 @@ lib/libnettle.so.2
%%EXAMPLESDIR%%/rsa-sign.c
%%EXAMPLESDIR%%/rsa-verify.c
@dirrm %%EXAMPLESDIR%%
-