- honor CC and CFLAGS
- set NO_REGRESS=Yes ok Antti Harri (MAINTAINER)
This commit is contained in:
parent
8df889c9e5
commit
52f8a39dcd
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2008/06/20 06:23:15 ckuethe Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2009/01/07 09:18:39 jasper Exp $
|
||||
|
||||
COMMENT= identify or delete duplicates
|
||||
|
||||
DISTNAME= fdupes-1.40
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= Antti Harri <iku@openbsd.fi>
|
||||
@ -19,6 +19,8 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
ALL_TARGET=
|
||||
|
||||
do-install:
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/06/20 06:03:43 ckuethe Exp $
|
||||
--- Makefile.orig Thu Mar 15 04:49:11 2001
|
||||
+++ Makefile Fri May 30 13:50:55 2008
|
||||
$OpenBSD: patch-Makefile,v 1.2 2009/01/07 09:18:39 jasper Exp $
|
||||
--- Makefile.orig Thu Mar 15 03:49:11 2001
|
||||
+++ Makefile Tue Jan 6 23:23:06 2009
|
||||
@@ -20,22 +20,45 @@ VERSION = "1.40"
|
||||
# built in MD5 message digest routines) uncomment the following
|
||||
# line (try this if you're having trouble with built in code).
|
||||
@ -27,7 +27,7 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2008/06/20 06:03:43 ckuethe Exp $
|
||||
|
||||
-fdupes: fdupes.c md5/md5.c
|
||||
- gcc fdupes.c md5/md5.c -Wall -o fdupes -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE)
|
||||
+CFLAGS = -Wall -DVERSION=\"$(VERSION)\"
|
||||
+CFLAGS += -Wall -DVERSION=\"$(VERSION)\"
|
||||
+LDFLAGS =
|
||||
+SRC_FILES = fdupes.c
|
||||
+
|
||||
@ -47,7 +47,7 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2008/06/20 06:03:43 ckuethe Exp $
|
||||
+.endif
|
||||
+
|
||||
+fdupes: $(SRC_FILES)
|
||||
+ gcc $(CFLAGS) $(SRC_FILES) $(LDFLAGS) -o fdupes
|
||||
+ $(CC) $(CFLAGS) $(SRC_FILES) $(LDFLAGS) -o fdupes
|
||||
|
||||
install: fdupes
|
||||
cp fdupes $(INSTALLDIR)
|
||||
|
Loading…
Reference in New Issue
Block a user